#import <UIKit/UIKit.h>

#import "SpringSwitches.h"

int main(int argc, char **argv)
{
	NSString *logPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Applications/SpringSwitches.app/log.txt"];
	freopen([logPath fileSystemRepresentation], "a", stderr);
	
	NSAutoreleasePool *pool	= [[NSAutoreleasePool alloc] init];

	int ret;
	ret	= UIApplicationMain(argc, argv, [SpringSwitches class]);

	[pool release];

	return ret;
}
